export class BaseVo 
{
    /**
     *  将后台传回的字符串转成类对象
     * @param jsonStr 
     */
    static parse(jsonStr: string){
        let jsonObj: any = JSON.parse(jsonStr);
        for (let prop in jsonObj) {
            this[prop] = jsonObj[prop];
        }
    }
}

//let jsonObj: any = JSON.parse(employeeString); / https://stackoverflow.com/questions/40421100/how-to-parse-a-json-object-to-a-typescript-object